//
// Created by 1065246 on 2023/4/13.
//

#include <iostream>
using namespace std;
#include "Teacher.h"
//必须声明被访问的类头文件
#include "Student.h"
//定义友元函数
void Teacher::visitPrivate(Student * student){
    cout<<student->age<<endl;
}
